#include "analyCard.h"

CompareRes::CompareRes()
{

}

CompareRes::~CompareRes()
{

}

bool CompareRes::isdaqiang()
{
	if (1 == Resshui.size())
	{
		return false;
	}
	else
	{
		for (std::vector<int>::iterator it = Resshui.begin(); it < Resshui.end(); ++it)
		{
			if (*it < 0)
			{
				return false;
				break;
			}
		}

		return true;
	}
}

void CompareRes::setResShui(const int shui)
{
	Resshui.push_back(shui);
}